xen/arm: vpl011: Add a new domctl API to initialize vpl011
authorBhupinder Thakur <bhupinder.thakur@linaro.org>
Wed, 27 Sep 2017 06:13:15 +0000 (11:43 +0530)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 3 Oct 2017 22:17:36 +0000 (15:17 -0700)
commit86039f2e8c20c06ab5234123a200f4617c14f77d
tree93d4a9a45e04243fc3c6f700f251479b115151f3
parentd5dddf773b420f1a2308529a9e49e06b5e897838
xen/arm: vpl011: Add a new domctl API to initialize vpl011

Add a new domctl API to initialize vpl011. It takes the GFN and console
backend domid as input and returns an event channel to be used for
sending and receiving events from Xen.

Xen will communicate with xenconsole using GFN as the ring buffer and
the event channel to transmit and receive pl011 data on the guest domain's
behalf.

Signed-off-by: Bhupinder Thakur <bhupinder.thakur@linaro.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_domain.c
tools/libxl/libxl_arch.h
tools/libxl/libxl_arm.c
tools/libxl/libxl_dom.c
tools/libxl/libxl_x86.c
xen/arch/arm/domain.c
xen/arch/arm/domctl.c
xen/include/public/domctl.h